package com.kintreda.ieco_server.bean.article;

import com.kintreda.ieco_server.bean.system.BaseVo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.bean.article
 * @Author ZhongYao_H
 * @Date 2019/5/14:11:59
 * @Year 2019 Month 05 Day 14
 * @Date_zh 2019 年 五月 星期二
 */
@Entity
@Table(name="arti")
public class Article extends BaseVo {

    String title;//标题
    String anno;//简要描述
    String coverId;//封面
    String type;//1产品 2分类攻略 3首页轮播 4其他

    @Column(name = "body",columnDefinition = "longtext")
    String body;//内容

    public String getCoverId() {
        return coverId;
    }

    public void setCoverId(String coverId) {
        this.coverId = coverId;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getAnno() {
        return anno;
    }

    public void setAnno(String anno) {
        this.anno = anno;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
